//引入react核心库
import React from 'react'
//引入react-dom
import ReactDOM from 'react-dom'
//引入App——所有组件的外壳组件
import App from './App'
//引入store
import store from './redux/store'

ReactDOM.render(<App/>,document.getElementById('root'))
//监测redux中的数据修改
store.subscribe(()=>{
	ReactDOM.render(<App/>,document.getElementById('root'))
})
